
import 'package:json/json.dart';

import '../../enums/src/event.dart';
import '../../util/util.dart';

part 'event_bean.g.dart';

@Json()
class EventBean{
  Event? name;
  Map<String, dynamic>? data;

  EventBean.fromMap(Map<String, dynamic>? map){
    _fromMap(map, this);
  }

  @override
  String toString() {
    return 'Event{name: $name, data: $data}';
  }
}
